package com.techsoul.module.tms.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.techsoul.module.order.pojo.param.PurchaseOrderItemSearchParam;
import com.techsoul.module.order.pojo.vo.PurchaseOrderItemVo;
import com.techsoul.module.tms.pojo.entity.TPoPurchaseOrderItem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.techsoul.module.tms.pojo.param.TPoPurchaseOrderItemSearchParam;
import com.techsoul.module.tms.pojo.vo.TPoPurchaseOrderItemVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 采购订单明细表 Mapper 接口
 * </p>
 *
 * @author liuen
 * @since 2019-09-10
 */
public interface TPoPurchaseOrderItemMapper extends BaseMapper<TPoPurchaseOrderItem> {

    List<TPoPurchaseOrderItemVo> findAll(@Param("params") TPoPurchaseOrderItemSearchParam params);
    IPage<TPoPurchaseOrderItemVo> findAll(Page page, @Param("params") TPoPurchaseOrderItemSearchParam params);

}
